package com.crm.dao.mapper.activityManager;

import com.crm.model.entity.activityManager.CustomerProductActivity;
import com.crm.model.entity.activityManager.CustomerProductActivityExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerProductActivityMapper {
    long countByExample(CustomerProductActivityExample example);

    int deleteByExample(CustomerProductActivityExample example);

    int deleteByPrimaryKey(String productActivityId);

    int insert(CustomerProductActivity record);

    int insertSelective(CustomerProductActivity record);

    List<CustomerProductActivity> selectByExample(CustomerProductActivityExample example);

    CustomerProductActivity selectByPrimaryKey(String productActivityId);

    int updateByExampleSelective(@Param("record") CustomerProductActivity record, @Param("example") CustomerProductActivityExample example);

    int updateByExample(@Param("record") CustomerProductActivity record, @Param("example") CustomerProductActivityExample example);

    int updateByPrimaryKeySelective(CustomerProductActivity record);

    int updateByPrimaryKey(CustomerProductActivity record);
}